package cn.kimming.wms.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.kimming.wms.dao.IProductDAO;
import cn.kimming.wms.domain.Product;

@Repository("productDAO")
public class ProductDAOImpl extends GenericDAOImpl<Product> implements IProductDAO{

	@Override
	public List<Product> listByBrandId(Long id) {
		return queryForList("obj.brand.id = ?", id);
	}
	
}
